from rdb import Rdb
from rcfg import RCfg

g_cfg = '/home/wang/.release.cfg'

db = Rdb('/home/wang/DlinkProjects/DGS-1210-28ME-B1')
cfg = RCfg(g_cfg)
cfg.load()
print(db.ftp_model_dir(cfg))
print(db.ftp_model_all_dir(cfg))
